import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String a = sc.next();
        String b = sc.next();
        String max = a;
        String min = b;
        if (a.length() > b.length()) {
            System.out.println(max+">"+min);
        } else if (b.length()>a.length()) {
            max = b;
            min = a;
            System.out.println(max+">"+min);
        } else {
            for (int i = 0; i < a.length(); i++) {
                if(a.charAt(i) > b.charAt(i)) {
                    max = a;
                    min = b;
                    break;
                }else {
                    max = b;
                    min = a;
                    break;
                }
            }
            System.out.println(max+">"+min);
        }
    }
}
